package com.yudean.esb.dao.erp;

import com.yudean.esb.domain.erp.ErpClientLog;
import com.yudean.esb.mapper.erp.ErpClientLogMapper;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

@Repository
@Scope("prototype")
public class ErpClientLogDao {

    @Resource
    public ErpClientLogMapper erpClientLogMapper;

    public int insertClientLog(ErpClientLog erpClientLog) {
        return erpClientLogMapper.insertClientLog(erpClientLog);
    }


    public List<ErpClientLog> getClientLog(ErpClientLog erpClientLog) {
        return erpClientLogMapper.getClientLog(erpClientLog);
    }


}
